package com.neu.carbon.scm.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

/**
 * 退货明细对象 scm_sale_return_detail
 *
 * @author neuedu
 * @date 2025-03-17
 */
public class ScmSaleReturnDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 退货id */
    @Excel(name = "退货id")
    private Long returnId;

    /** 物料 */
    @Excel(name = "物料")
    private Long materialId;

    @Excel(name = "型号")
    private String model;

    @Excel(name = "规格")
    private String specification;

    @Excel(name = "单位")
    private String unit;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 订货数量 */
    @Excel(name = "订货数量")
    private Long bookQuantity;

    /** 发货数量 */
    @Excel(name = "发货数量")
    private Long deliveryQuantity;

    /** 退货数量 */
    @Excel(name = "退货数量")
    private Long returnQuantity;

    /** 备注 */
    @Excel(name = "备注")
    private String detailRemark;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setReturnId(Long returnId)
    {
        this.returnId = returnId;
    }

    public Long getReturnId()
    {
        return returnId;
    }
    public void setMaterialId(Long materialId)
    {
        this.materialId = materialId;
    }

    public Long getMaterialId()
    {
        return materialId;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setBookQuantity(Long bookQuantity)
    {
        this.bookQuantity = bookQuantity;
    }

    public Long getBookQuantity()
    {
        return bookQuantity;
    }
    public void setDeliveryQuantity(Long deliveryQuantity)
    {
        this.deliveryQuantity = deliveryQuantity;
    }

    public Long getDeliveryQuantity()
    {
        return deliveryQuantity;
    }
    public void setReturnQuantity(Long returnQuantity)
    {
        this.returnQuantity = returnQuantity;
    }

    public Long getReturnQuantity()
    {
        return returnQuantity;
    }
    public void setDetailRemark(String detailRemark)
    {
        this.detailRemark = detailRemark;
    }

    public String getDetailRemark()
    {
        return detailRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("returnId", getReturnId())
            .append("materialId", getMaterialId())
            .append("price", getPrice())
            .append("bookQuantity", getBookQuantity())
            .append("deliveryQuantity", getDeliveryQuantity())
            .append("returnQuantity", getReturnQuantity())
            .append("detailRemark", getDetailRemark())
            .toString();
    }
}
